<!-- This file is intended for testing only-->
<div id="users_login">
    {% if login_form %}
        <form id="users_login_form" method="post" action="{% url usermanagement.views.loginview %}">
            {% csrf_token %}
            E-Mail: {{ login_form.username }}
            Passwort: {{ login_form.password }}
            {{ login_form.next_page }}
            <input type="submit" value="Login" />
        </form>
        | <a style="display: inline" href="{% url usermanagement.views.registerview %}">Registrieren</a>
        | <a style="display: inline" href="{% url usermanagement.views.lostpasswordview %}">Login verlegt</a>
    {% else %}
        Hallo {{ current_user.username }} |
        <a href="{% url usermanagement.views.changepasswordview %}">Passwort ändern</a> |
        <a href="{% url usermanagement.views.delete_user current_user.id %}">Account löschen</a> |
        <a href="{% url django.contrib.auth.views.logout %}">Logout</a>
    {% endif %}
</div>
